package com.wy.ssm01.exception_zdy;

public class MyException extends Exception {
    String message;

    public MyException(String message) {
        super(message);
        this.message=message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    @Override
    public String getMessage() {
        return this.message;
    }
}
